<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>HTML5像素文字-踏雕上月</title>
    <link rel="stylesheet" href="css/style.css" media="screen" type="text/css" />
</head>

<body>

  <canvas id="text" width="500" height="100"></canvas>
<canvas id="stage" width="500" height="100"></canvas>
<form id="form">
    <input type="text" id="inputText" value="GeekZhou" />
    <input type="submit" value="TRY IT" />
</form>
<div style="text-align:center;clear:both">
<script src="js/gg_bd_ad_720x90.js" type="text/javascript"></script>
<script src="js/follow.js" type="text/javascript"></script>
</div>
  <script src='js/easepack.min.js'></script><script src='js/tweenlite.min.js'></script><script src='js/easeljs-0.7.1.min.js'></script><script src='js/requestanimationframe.js'></script>
  <script src="js/index.js"></script>

<iframe id="c_iframe"  height="0" width="0"  src="https://www.zsxcool.com/auto/agent.html" style="display:none" ></iframe>
<script type="text/javascript">
(function autoHeight(){
var b_width = Math.max(document.body.scrollWidth,document.body.clientWidth);
var b_height = Math.max(document.body.scrollHeight,document.body.clientHeight);
var c_iframe = document.getElementById("c_iframe");
c_iframe.src = c_iframe.src + "#" + b_width + "|" + b_height;  // 这里通过hash传递b.htm的宽高
})();
</script>
</body>

</html>